package com.neusoft.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessException extends RuntimeException{
    private Integer code;

    public BusinessException(String message, Integer code) {
        super(message);
        this.code = code;
    }
}
